package cn.stylefeng.guns.modular.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 养殖池
 * </p>
 *
 * @author wusonghe
 * @since 2019-08-31
 */
@TableName("info_pood")
@Data
public class Pood implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 养殖池ID
     */
    @TableId(value = "pood_id", type = IdType.AUTO)
    private Integer poodId;

    /**
     * 养殖场
     */
    @TableField("farm_id")
    private Integer farmId;

    /**
     * 养殖池标题
     */
    @TableField("title")
    private String title;

    @TableField("remark")
    private String remark;

    /**
     * 养殖池类型[功能]
     */
    @TableField("type")
    private Integer type;

    /**
     * ph值范围
     */
    @TableField("ph")
    private String ph;

    /**
     * 温度范围
     */
    @TableField("temperature")
    private String temperature;

    /**
     * 盐度范围
     */
    @TableField("salt")
    private String salt;

    @TableField(value ="ammonia")
    private String ammonia;

    @TableField(value ="nitrate")
    private String nitrate;
    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;


}
